package com.chinaoct.siku.LocalStorage.dao;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class StorageDTO {

    private Long id;
    private Long version;

    @ApiModelProperty(value = "真实文件名")
    private String realName;

    @ApiModelProperty(value = "文件名")
    private String name;

    @ApiModelProperty(value = "后缀")
    private String suffix;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "大小")
    private String size;

    @ApiModelProperty(value = "缩图地址")
    private String thumbnail;

    private Date createAt;

    private Date updateAt;

    private Integer status;

    private String source;

    private Integer storageType; //0 临时 1 永久

    private String requestPath;
}
